#include<iostream>
#include<vector>
#include"priority_queue.h"
using namespace xjh;

int main(){

	priority_queue<int,std::vector<int>,Greater<int>> q;
	q.push(1);
	q.push(12);
	q.push(9);
	q.push(19);
	q.push(3);

	while (!q.empty()){
		std::cout << q.top() << " ";
		q.pop();
	}


	return 0;
}